/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-05-27
 * Time: 18:55
 */
    /*private  int x;
    private  int y;

    public Data(int x, int y){
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}*/
class Student {
    private String name;
    private int age;
    private double score;
    static String ClassName = "113";

    public Student(String name, int age, double score) {
        this.name = name;
        this.age = age;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public void doclass() {
        System.out.println(name + "在上课....");
    }

    public void show() {
        System.out.println("姓名：" + this.name + " 年龄：" + this.age + " 得分：" + this.score + " 班级 ：" + this.ClassName);
    }
    public static String getClassName(){
        return ClassName;
    }
}
public class Test {
        public static void main(String[] args) {
            /*Student.className = "一班";
            Student student1 = new Student("lisi",14,14.5);
            Student student2 = new Student("wangwu",15,16.3);
            student1.show();
            student2.show();*/
            System.out.println(Student.getClassName());
        }
    }

